.message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .message-item {
    min-width: 300px;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px 0 rgba(0,0,0,.08);
    background: #333333;
    color: #FFF;
    display: flex;
    align-items: center;
    animation: messageMoveIn 0.3s ease-in-out;
  }

  .message-item.leaving {
    animation: messageMoveOut 0.3s ease-in-out;
  }

  .message-icon {
    width: 16px;
    height: 16px;
    line-height: 16px;
    margin-right: 10px;
    display: inline-block;
  }

  .message-content {
    flex: 1;
  }

  .message-close {
    margin-left: 15px;
    cursor: pointer;
    color: #FFF;
    /* color: rgba(0,0,0,.45); */
  }

  @keyframes messageMoveIn {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes messageMoveOut {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(-20px);
    }
  }

